<%@ include file="../../include.jsp" %>

<tiles:insertDefinition name="component.layout.SubPanel">
   <tiles:putAttribute name="title" value="Connect to Facebook" />
   <tiles:putAttribute name="content">

<form action="<c:url value="/account/settings/connect/facebook.html" />" method="POST">
   <input type="hidden" name="scope" value="email,user_birthday,publish_stream,offline_access" />
   <div class="formInfo">
      <p>You are not connected to Facebook. Click the button to connect Spring Social Showcase with your Facebook account.</p>
   </div>
   <p><button type="submit"><img src="<c:url value="${imagesDir}" />/social/facebook/connect_light_medium_short.gif" /></button></p>
   <label for="postToWall"><input id="postToWall" type="checkbox" name="postToWall" /> Tell your friends about Spring Social Showcase on your Facebook wall</label>
</form>

</tiles:putAttribute>
</tiles:insertDefinition>
